2020年11月20日 — In a real sense, restorecon command in linux resets the SELinux security context for files and directories to its default values. restorecon ...
There are multiple commands for managing the SELinux context for files, such as chcon , semanage fcontext , and restorecon . 5.6.1. Temporary Changes: chcon.
Run the restorecon -v file-name|directory-name command to apply the context changes. Procedure 5.7. Changing a File's or Directory 's Type. The following ...
Using the restorecon command is the most popular and preferred way of modifying the SELinux context of a file or directory. As is visible from the name of ...
This program is primarily used to reset the security context (type) (extended attributes) on one or more files. It can be run at any time to correct errors, to ...
This manual page describes the restorecon program. This program is primarily used to set the security context (extended attributes) on one or more files. It can ...